import request from '../utils/request'

export const getCheckPerson = (params) => {
    return request(`/api/hsecheckRecord/queryCheckperson`,{params})
  }

export const AddCheckperson = (data) => {
    return request('/api/hsecheckRecord/addCheckperson ', {
      method: 'post', 
      data
    })
  }

// 获取所有审核人员信息
export const GetAllPersonInfo = (params) => {
  return request('/api/hsecheckRecord/queryAllCheckPerson', {params})
}

// 删除
 export const DeleteCheckPerson = (params) => { 
  return request(`/api/hsecheckRecord/deleteCheckPerson`, {
    method: 'delete',
    params
  })
}